package com.CST.mapper.cst;

import com.CST.dto.DateDTO;
import com.CST.entity.RuleAmortization;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface DataAccountingMapper extends BaseMapper<RuleAmortization> {
    // 计算行政类科室产生的总成本
    Double getXzSumAmount(DateDTO dateDTO);
    
    // 根据传入的值计算对应科室的人数
    Integer getDeptNumByDeptTypeId(String deptTypeId);
}
